﻿// Open Source: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Project: YoProgramo.NET (http://code.google.com/p/yoprogramo/)
// Autor: Fabian Figueredo (info@fabianfigueredo.com.ar)
// Blog: blog.yoprogramo.net

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YoProgramo.Domain.Core.Interfaces
{
    public interface IDao<Tentity, Type, Tid> : IDaoGetId<Tentity, Tid> {
        void Delete(Type obj);
        void Save(Type obj);
        void SaveOrUpdate(Type obj);
        IList<Type> GetAll();
    }
}